package router

import (
	"github.com/gin-gonic/gin"
	"go_blok/server/api"
)

var (
	userApi = api.API.UserApi
)

func CommonRouter(r *gin.RouterGroup) {
	com := r.Group("/common")
	{
		//com.POST("/login", userApi.Login)
		com.GET("/getEmailCode", userApi.GetEmailCode)
		com.POST("/register", userApi.Register)
	}
}
